#ifndef EEPROM_H__
#define EEPROM_H__

#include "type.h"

// 用户参数结构体
typedef struct {
    uint8_t Addr; //485的地址
    uint8_t Band; //波特率
} UserParams;

void SaveUserParams(UserParams *params, unsigned int baseAddr);
void LoadUserParams(UserParams *params, unsigned int baseAddr);


#endif // EEPROM_H__